//
//  YZMWarningHotView.m
//  YZMicroStock
//
//  Created by apple on 2017/12/4.
//  Copyright © 2017年 cqjr. All rights reserved.
//

#import "YZMWarningHotView.h"

@interface YZMWarningHotView ()

@property (weak, nonatomic) IBOutlet UILabel *labelTitle;

@end

@implementation YZMWarningHotView

- (void)awakeFromNib{
    [super awakeFromNib];
   self.labelTitle.textColor = [YZMAppStyle colorForYellowButton];
    [YZMSetBorderAndCornerRadius setView:self.labelTitle borderWidth:1 borderColor:[YZMAppStyle colorForYellowButton] cornerRadius:0];
}

- (IBAction)clickedBtn:(id)sender {
    if (self.handle) {
        self.handle();
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
